class Remark {
    String teacherName = ''
    Long classId
    String content = ''
    Date createTime = new Date()
    Comments comments
    static constraints = {
        teacherName(nullable:true,blank:false) 
        classId(nullable:false)
        comments(nullable:false)
        content(size: 1..3000,blank:false)
    }
}
